package v3;

import v3.hero.Camille;
import v3.hero.Diana;
import v3.hero.Gailun;

public class HeroFactory {

    public static Skill getHero(String name){
        Skill skill;
        switch (name) {
            case "Diana":
                skill = new Diana();
                break;
            case "Gailun":
                skill = new Gailun();
                break;
            case "Camille":
                skill = new Camille();
                break;
            default:
                skill = new Diana();
        }
        return  skill;
    }


}
